/**
 * MichaelHuang
 * 2013-1-29
 */
package com.njrsrc.common.utils;

import java.util.Stack;

import android.app.Activity;

/**
 * activity stack
 * @author Oliverzhu
 * 2014/4/14
 */
public class ActivityStack {

	private static Stack<Activity> stack = new Stack<Activity>();
	
	public static void put(Activity activity) {
		stack.push(activity);
	}
	
	public static Activity pop() {
		return stack.pop();
	}
	
	public static Stack<Activity> getStack() {
		return stack;
	}
}
